package com.qf.service.serviceImpl;

import com.qf.dao.PetDao;
import com.qf.pojo.Pet;
import com.qf.service.PetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PetServiceImpl  implements PetService {
    @Autowired
    PetDao petDao;
    @Override
    public List<Pet> findByPetAll() {
        return petDao.findAll();
    }
}
